// 变量
// 颜色定义规范
@color-background : #222;
@color-background-d : rgba(0, 0, 0, 0.3);
@color-highlight-background : #333;
@color-dialog-background : #666;
@color-theme : #ffcd32;
@color-theme-d : rgba(255, 205, 49, 0.5);
@color-sub-theme : #d93f30;
@color-text : #fff;
@color-text-d : rgba(255, 255, 255, 0.3);
@color-text-l : rgba(255, 255, 255, 0.5);
@color-text-ll : rgba(255, 255, 255, 0.8);
// 字体定义规范
@font-size-small-s : 10px;
@font-size-small : 12px;
@font-size-medium : 14px;
@font-size-medium-x : 16px;
@font-size-large : 18px;
@font-size-large-x : 22px;
// 图片配置
// 背景图片
.bg-image(@url) {
    background-image:~"url(@{url}@2x.png)";
    @media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
        background-image:~"url(@{url}@3x.png)";
    }
}

// 不换行
.no-wrap() {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
} // 扩展点击区域
.extend-click() {
    position: relative;
    &:before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}

// 字体图标
@font-face {
    font-family: 'music-icon';
    src: url('../fonts/music-icon.eot?2qevqt');
    src: url('../fonts/music-icon.eot?2qevqt#iefix') format('embedded-opentype'), url('../fonts/music-icon.ttf?2qevqt') format('truetype'), url('../fonts/music-icon.woff?2qevqt') format('woff'), url('../fonts/music-icon.svg?2qevqt#music-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^='icon-'],
[class*=' icon-'] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'music-icon' !important; // speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-ok:before {
    content: '\e900';
}

.icon-close:before {
    content: '\e901';
}

.icon-add:before {
    content: '\e902';
}

.icon-play-mini:before {
    content: '\e903';
}

.icon-playlist:before {
    content: '\e904';
}

.icon-music:before {
    content: '\e905';
}

.icon-search:before {
    content: '\e906';
}

.icon-clear:before {
    content: '\e907';
}

.icon-delete:before {
    content: '\e908';
}

.icon-favorite:before {
    content: '\e909';
}

.icon-not-favorite:before {
    content: '\e90a';
}

.icon-pause:before {
    content: '\e90b';
}

.icon-play:before {
    content: '\e90c';
}

.icon-prev:before {
    content: '\e90d';
}

.icon-loop:before {
    content: '\e90e';
}

.icon-sequence:before {
    content: '\e90f';
}

.icon-random:before {
    content: '\e910';
}

.icon-back:before {
    content: '\e911';
}

.icon-mine:before {
    content: '\e912';
}

.icon-next:before {
    content: '\e913';
}

.icon-dismiss:before {
    content: '\e914';
}

.icon-pause-mini:before {
    content: '\e915';
}

// 默认配置
body,
html {
    line-height: 1;
    font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', arial, sans-serif, 'Droid Sans Fallback';
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: @color-background;
    color: @color-text;
}

// 默认属性
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* custom */

a {
    color: #7e8c8d; // -webkit-backface-visibility: hidden;
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

// 头部
.com-header {
    position: relative;
    height: 44px;
    text-align: center;
    color: @color-theme;
    font-size: 0;
    .icon {
        display: inline-block;
        vertical-align: top;
        margin-top: 6px;
        width: 30px;
        height: 32px;
        margin-right: 9px;
        .bg-image('../img/logo');
        background-size: 30px 32px;
    }
    .text {
        display: inline-block;
        vertical-align: top;
        line-height: 44px;
        font-size: @font-size-large;
    }
    .mine {
        position: absolute;
        top: 0;
        right: 0;
        .icon-mine {
            display: block;
            padding: 12px;
            font-size: 20px;
            color: @color-theme;
        }
    }
}

// 切换
.com-tab {
    display: flex;
    height: 44px;
    line-height: 44px;
    font-size: @font-size-medium;
    .tab-item {
        flex: 1;
        text-align: center;
        .tab-link {
            padding-bottom: 5px;
            color: @color-text-l;
        }
        &.router-link-active {
            .tab-link {
                color: @color-theme;
                border-bottom: 2px solid @color-theme;
            }
        }
    }
}

// banner
.base-swiper {
    .base-swiper-img {
        width: 100%;
    }
    .swiper-pagination {
        left: 0;
        bottom: 12px;
        width: 100%;
    }
    .swiper-pagination-bullet {
        opacity: 1;
        background-color: @color-text-l;
    }
    .swiper-pagination-bullet-active {
        width: 16px;
        border-radius: 5px;
        background-color: @color-text-ll;
    }
}

// 列表
.recommend {
    position: fixed;
    width: 100%;
    top: 88px;
    bottom: 0;
    .recommend-content {
        height: 100%;
        overflow: hidden;
        .recommend-list {
            .list-title {
                height: 65px;
                line-height: 65px;
                text-align: center;
                font-size: @font-size-medium;
                color: @color-theme;
            }
            .item {
                display: flex;
                box-sizing: border-box;
                align-items: center;
                padding: 0 20px 20px 20px;
                .icon {
                    flex: 0 0 60px;
                    width: 60px;
                    padding-right: 20px;
                }
                .text {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    flex: 1;
                    line-height: 20px;
                    overflow: hidden;
                    font-size: @font-size-medium;
                    .name {
                        margin-bottom: 10px;
                        color: @color-text;
                    }
                    .desc {
                        color: @color-text-d;
                    }
                }
            }
        }
        .loading-container {
            position: absolute;
            width: 100%;
            top: 50%;
            transform: translateY(-50%);
        }
    }
}

// 排名
.listview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: @color-background;
    .list-group {
        padding-bottom: 30px;
        .list-group-title {
            height: 30px;
            line-height: 30px;
            padding-left: 20px;
            font-size: @font-size-small;
            color: @color-text-l;
            background: @color-highlight-background;
        }
        .list-group-item {
            display: flex;
            align-items: center;
            padding: 20px 0 0 30px;
            .avatar {
                width: 50px;
                height: 50px;
                border-radius: 50%;
            }
            .name {
                margin-left: 20px;
                color: @color-text-l;
                font-size: @font-size-medium;
            }
        }
    }
    .list-shortcut {
        position: absolute;
        z-index: 30;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        padding: 20px 0;
        border-radius: 10px;
        text-align: center;
        background: @color-background-d;
        font-family: Helvetica;
        .item {
            padding: 3px;
            line-height: 1;
            color: @color-text-l;
            font-size: @font-size-small;
            &.current {
                color: @color-theme;
            }
        }
    }
    .list-fixed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        .fixed-title {
            height: 30px;
            line-height: 30px;
            padding-left: 20px;
            font-size: @font-size-small;
            color: @color-text-l;
            background: @color-highlight-background;
        }
    }
    .loading-container {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
}

.singer {
    position: fixed;
    top: 88px;
    bottom: 0;
    width: 100%;
}

// loading
.loading {
    width: 100%;
    text-align: center;
    .desc {
        line-height: 20px;
        font-size: @font-size-small;
        color: @color-text-l;
    }
}

// 歌手详情
.singer-detail {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: @color-background
}

.slide-enter-active,
.slide-levae-active {
    transition: all .3s
}

.slide-enter,
.slide-leave-to {
    transform: translate3d(100%, 0, 0)
}

.music-list {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: @color-background;
    .back {
        position: absolute;
        top: 0;
        left: 6px;
        z-index: 50;
        .icon-back {
            display: block;
            padding: 10px;
            font-size: @font-size-large-x;
            color: @color-theme;
        }
    }
    .title {
        position: absolute;
        top: 0;
        left: 10%;
        z-index: 40;
        width: 80%;
        .no-wrap();
        text-align: center;
        line-height: 40px;
        font-size: @font-size-large;
        color: @color-text;
    }
    .bg-image {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 70%;
        transform-origin: top;
        background-size: cover;
        .play-wrapper {
            position: absolute;
            bottom: 20px;
            z-index: 50;
            width: 100%;
            .play {
                box-sizing: border-box;
                width: 135px;
                padding: 7px 0;
                margin: 0 auto;
                text-align: center;
                border: 1px solid @color-theme;
                color: @color-theme;
                border-radius: 100px;
                font-size: 0;
                .icon-play {
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 6px;
                    font-size: @font-size-medium-x;
                }
                .text {
                    display: inline-block;
                    vertical-align: middle;
                    font-size: @font-size-small;
                }
            }
        }
        .filter {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(7, 17, 27, 0.4);
        }
    }
    .bg-layer {
        position: relative;
        height: 100%;
        background: @color-background;
    }
    .list {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        background: @color-background;
        .song-list-wrapper {
            padding: 20px 30px;
        }
        .loading-container {
            position: absolute;
            width: 100%;
            top: 50%;
            transform: translateY(-50%);
        }
    }
}

//歌手 - 滚动
.song-list {
    .item {
        display: flex;
        align-items: center;
        height: 64px;
        font-size: @font-size-medium;
        .rank {
            flex: 0 0 25px;
            width: 25px;
            margin-right: 30px;
            text-align: center;
            .icon {
                display: inline-block;
                width: 25px;
                height: 24px;
                background-size: 25px 24px;
                &.icon0 {
                    .bg-image('../img/first');
                }
                &.icon1 {
                    .bg-image('../img/second');
                }
                &.icon2 {
                    .bg-image('../img/third');
                }
            }
            .text {
                color: @color-theme;
                font-size: @font-size-large;
            }
        }
        .content {
            flex: 1;
            line-height: 20px;
            overflow: hidden;
            .name {
                .no-wrap();
                color: @color-text-d
            }
            .desc {
                .no-wrap();
                margin-top: 4px;
                color: @color-text-d
            }
        }
    }
}

//播放列表
.player {
    .normal-player {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 150;
        background: @color-background;
        .background {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.6;
            filter: blur(20px);
        }
        .top {
            position: relative;
            margin-bottom: 25px;
            .back {
                position: absolute;
                top: 0;
                left: 6px;
                z-index: 50;
                .icon-back {
                    display: block;
                    padding: 9px;
                    font-size: @font-size-large-x;
                    color: @color-theme;
                    transform: rotate(-90deg);
                }
            }
            .title {
                width: 70%;
                margin: 0 auto;
                line-height: 40px;
                text-align: center;
                .no-wrap();
                font-size: @font-size-large;
                color: @color-text;
            }
            .subtitle {
                line-height: 20px;
                text-align: center;
                font-size: @font-size-medium;
                color: @color-text;
            }
        }
        .middle {
            position: fixed;
            width: 100%;
            top: 80px;
            bottom: 170px;
            white-space: nowrap;
            font-size: 0;
            .middle-l {
                display: inline-block;
                vertical-align: top;
                position: relative;
                width: 100%;
                height: 0;
                padding-top: 80%;
                .cd-wrapper {
                    position: absolute;
                    left: 10%;
                    top: 0;
                    width: 80%;
                    height: 100%;
                    .cd {
                        width: 100%;
                        height: 100%;
                        box-sizing: border-box;
                        border: 10px solid rgba(255, 255, 255, 0.1);
                        border-radius: 50%;
                        &.play {
                            animation: rotate 20s linear infinite;
                        }
                        &.pause {
                            animation-play-state: paused;
                        }
                        .image {
                            position: absolute;
                            left: 0;
                            top: 0;
                            width: 100%;
                            height: 100%;
                            border-radius: 50%;
                        }
                    }
                }
                .playing-lyric-wrapper {
                    width: 80%;
                    margin: 30px auto 0 auto;
                    overflow: hidden;
                    text-align: center;
                    .playing-lyric {
                        height: 20px;
                        line-height: 20px;
                        font-size: @font-size-medium;
                        color: @color-text-l;
                    }
                }
            }
            .middle-r {
                display: inline-block;
                vertical-align: top;
                width: 100%;
                height: 100%;
                overflow: hidden;
                .lyric-wrapper {
                    width: 80%;
                    margin: 0 auto;
                    overflow: hidden;
                    text-align: center;
                    .text {
                        line-height: 32px;
                        color: @color-text-l;
                        font-size: @font-size-medium;
                        &.current {
                            color: @color-text;
                        }
                    }
                }
            }
        }
        .bottom {
            position: absolute;
            bottom: 50px;
            width: 100%;
            .swiper-pagination {
                text-align: center;
                font-size: 0;
                position: relative;
                .swiper-pagination-bullet {
                    display: inline-block;
                    vertical-align: middle;
                    margin: 0 4px;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background: @color-text-l;
                    &.swiper-pagination-bullet-active {
                        width: 20px;
                        border-radius: 5px;
                        background: @color-text-ll;
                    }
                }
            }
            .dot-wrapper {
                text-align: center;
                font-size: 0;
                .dot {
                    display: inline-block;
                    vertical-align: middle;
                    margin: 0 4px;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background: @color-text-l;
                    &.active {
                        width: 20px;
                        border-radius: 5px;
                        background: @color-text-ll;
                    }
                }
            }
            .progress-wrapper {
                display: flex;
                align-items: center;
                width: 80%;
                margin: 0px auto;
                padding: 10px 0;
                .time {
                    color: @color-text;
                    font-size: @font-size-small;
                    flex: 0 0 30px;
                    line-height: 30px;
                    width: 30px;
                    &.time-l {
                        text-align: left;
                    }
                    &.time-r {
                        text-align: right;
                    }
                }
                .progress-bar-wrapper {
                    flex: 1;
                }
            }
            .operators {
                display: flex;
                align-items: center;
                .icon {
                    flex: 1;
                    color: @color-theme;
                    &.disable {
                        color: @color-theme-d;
                    }
                    i {
                        font-size: 30px;
                    }
                }
                .i-left {
                    text-align: right;
                }
                .i-center {
                    padding: 0 20px;
                    text-align: center;
                    i {
                        font-size: 40px;
                    }
                }
                .i-right {
                    text-align: left;
                }
                .icon-favorite {
                    color: @color-sub-theme;
                }
            }
        }
        &.normal-enter-active,
        &.normal-leave-active {
            transition: all 0.4s;
            .top,
            .bottom {
                transition: all 0.4s cubic-bezier(0.86, 0.18, 0.82, 1.32);
            }
        }
        &.normal-enter,
        &.normal-leave-to {
            opacity: 0;
            .top {
                transform: translate3d(0, -100px, 0);
            }
            .bottom {
                transform: translate3d(0, 100px, 0);
            }
        }
    }
    .mini-player {
        display: flex;
        align-items: center;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 180;
        width: 100%;
        height: 60px;
        background: @color-highlight-background;
        &.mini-enter-active,
        &.mini-leave-active {
            transition: all 0.4s;
        }
        &.mini-enter,
        &.mini-leave-to {
            opacity: 0;
        }
        .icon {
            flex: 0 0 40px;
            width: 40px;
            padding: 0 10px 0 20px;
            img {
                border-radius: 50%;
                &.play {
                    animation: rotate 10s linear infinite;
                }
                &.pause {
                    animation-play-state: paused;
                }
            }
        }
        .text {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 1;
            line-height: 20px;
            overflow: hidden;
            .name {
                margin-bottom: 2px;
                .no-wrap();
                font-size: @font-size-medium;
                color: @color-text;
            }
            .desc {
                .no-wrap();
                font-size: @font-size-small;
                color: @color-text-d;
            }
        }
        .control {
            flex: 0 0 30px;
            width: 30px;
            padding: 0 10px;
            .icon-play-mini,
            .icon-pause-mini,
            .icon-playlist {
                font-size: 30px;
                color: @color-theme-d;
            }
            .icon-mini {
                font-size: 32px;
                position: absolute;
                left: 0;
                top: 0;
            }
        }
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

// 播放器 进度条
.progress-bar {
    height: 30px;
    .bar-inner {
        position: relative;
        top: 13px;
        height: 4px;
        background: rgba(0, 0, 0, 0.3);
        .progress {
            position: absolute;
            height: 100%;
            background: @color-theme;
        }
        .progress-btn-wrapper {
            position: absolute;
            left: -8px;
            top: -13px;
            width: 30px;
            height: 30px;
            .progress-btn {
                position: relative;
                top: 7px;
                left: 7px;
                box-sizing: border-box;
                width: 16px;
                height: 16px;
                border: 3px solid @color-text;
                border-radius: 50%;
                background: @color-theme;
            }
        }
    }
}

// 迷你播放器 进度条
.progress-circle {
    position: relative;
    circle {
        stroke-width: 8px;
        transform-origin: center;
        &.progress-background {
            transform: scale(0.9);
            stroke: @color-theme-d;
        }
        &.progress-bar {
            transform: scale(0.9) rotate(-90deg);
            stroke: @color-theme;
        }
    }
}

// 排行榜页面
.rankList {
    position: fixed;
    width: 100%;
    top: 88px;
    bottom: 0;
    .toplist {
        height: 100%;
        overflow: hidden;
        .item {
            display: flex;
            margin: 0 20px;
            padding-top: 20px;
            height: 100px;
            &:last-child {
                padding-bottom: 20px;
            }
            .icon {
                flex: 0 0 100px;
                width: 100px;
                height: 100px;
            }
            .songlist {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 0 20px;
                height: 100px;
                overflow: hidden;
                background: @color-highlight-background;
                color: @color-text-d;
                font-size: @font-size-small;
                .song {
                    .no-wrap();
                    line-height: 26px;
                }
            }
        }
        .loading-container {
            position: absolute;
            width: 100%;
            top: 50%;
            transform: translateY(-50%);
        }
    }
}

// 搜索输入框
.search-box {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 0 6px;
    height: 40px;
    background: @color-highlight-background;
    border-radius: 6px;
    .icon-search {
        font-size: 24px;
        color: @color-background;
    }
    .box {
        flex: 1;
        margin: 0 5px;
        line-height: 18px;
        background: @color-highlight-background;
        color: @color-text;
        font-size: @font-size-medium;
        &::placeholder {
            color: @color-text-d;
        }
    }
    .icon-dismiss {
        font-size: 16px;
        color: @color-background;
    }
}

//搜索页面
.search {
    .search-box-wrapper {
        margin: 20px;
    }
    .shortcut-wrapper {
        position: fixed;
        top: 178px;
        bottom: 0;
        width: 100%;
        .shortcut {
            height: 100%;
            overflow: hidden;
            .hot-key {
                margin: 0 20px 20px 20px;
                .title {
                    margin-bottom: 20px;
                    font-size: @font-size-medium;
                    color: @color-text-l;
                }
                .item {
                    display: inline-block;
                    padding: 5px 10px;
                    margin: 0 20px 10px 0;
                    border-radius: 6px;
                    background: @color-highlight-background;
                    font-size: @font-size-medium;
                    color: @color-text-d;
                }
            }
            .search-history {
                position: relative;
                margin: 0 20px;
                .title {
                    display: flex;
                    align-items: center;
                    height: 40px;
                    font-size: @font-size-medium;
                    color: @color-text-l;
                    .text {
                        flex: 1;
                    }
                    .clear {
                        .extend-click();
                        .icon-clear {
                            font-size: @font-size-medium;
                            color: @color-text-d;
                        }
                    }
                }
            }
        }
    }
    .search-result {
        position: fixed;
        width: 100%;
        top: 178px;
        bottom: 0;
    }
}

// 搜索列表
.suggest {
    height: 100%;
    overflow: hidden;
    .suggest-list {
        padding: 0 30px;
        .suggest-item {
            display: flex;
            align-items: center;
            padding-bottom: 20px;
        }
        .icon {
            flex: 0 0 30px;
            width: 30px;
            [class^='icon-'] {
                font-size: 14px;
                color: @color-text-d;
            }
        }
        .name {
            flex: 1;
            font-size: @font-size-medium;
            color: @color-text-d;
            overflow: hidden;
            .text {
                .no-wrap();
            }
        }
    }
    .no-result-wrapper {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
}

//暂无数据页面
.no-result {
    text-align: center;
    .no-result-icon {
        width: 86px;
        height: 90px;
        margin: 0 auto;
        .bg-image('../img/no-result');
        background-size: 86px 90px;
    }
    .no-result-text {
        margin-top: 30px;
        font-size: @font-size-medium;
        color: @color-text-d;
    }
}

// 搜索历史
.search-list {
    .search-item {
        display: flex;
        align-items: center;
        height: 40px;
        overflow: hidden;
        &.list-enter-active,
        &.list-leave-active {
            transition: all 0.1s;
        }
        &.list-enter,
        &.list-leave-to {
            height: 0;
        }
        .text {
            flex: 1;
            color: @color-text-l;
        }
        .icon {
            .extend-click();
            .icon-delete {
                font-size: @font-size-small;
                color: @color-text-d;
            }
        }
    }
}

// 弹层
.confirm {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 998;
    background-color: @color-background-d;
    &.confirm-fade-enter-active {
        animation: confirm-fadein 0.3s;
        .confirm-content {
            animation: confirm-zoom 0.3s;
        }
    }
    .confirm-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
        .confirm-content {
            width: 270px;
            border-radius: 13px;
            background: @color-highlight-background;
            .text {
                padding: 19px 15px;
                line-height: 22px;
                text-align: center;
                font-size: @font-size-large;
                color: @color-text-l;
            }
            .operate {
                display: flex;
                align-items: center;
                text-align: center;
                font-size: @font-size-large;
                .operate-btn {
                    flex: 1;
                    line-height: 22px;
                    padding: 10px 0;
                    border-top: 1px solid @color-background-d;
                    color: @color-text-d;
                    &.left {
                        border-right: 1px solid @color-background-d;
                    }
                }
            }
        }
    }
}

@keyframes confirm-fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes confirm-zoom {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

// 播放器列表
.playlist {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
    background-color: @color-background-d;
    &.list-fade-enter-active,
    &.list-fade-leave-active {
        transition: opacity 0.3s;
        .list-wrapper {
            transition: all 0.3s;
        }
    }
    &.list-fade-enter,
    &.list-fade-leave-to {
        opacity: 0;
        .list-wrapper {
            transform: translate3d(0, 100%, 0);
        }
    }
    &.list-fade-enter,
    >.list-wrapper {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: @color-highlight-background;
        .list-header {
            position: relative;
            padding: 20px 30px 10px 20px;
            .title {
                display: flex;
                align-items: center;
                .icon {
                    margin-right: 10px;
                    font-size: 30px;
                    color: @color-theme-d;
                }
                .text {
                    flex: 1;
                    font-size: @font-size-medium;
                    color: @color-text-l;
                }
                .clear {
                    .extend-click();
                    .icon-clear {
                        font-size: @font-size-medium;
                        color: @color-text-d;
                    }
                }
            }
        }
        .list-content {
            max-height: 240px;
            overflow: hidden;
            .item {
                display: flex;
                align-items: center;
                height: 40px;
                padding: 0 30px 0 20px;
                overflow: hidden;
                &.list-enter-active,
                &.list-leave-active {
                    transition: all 0.1s;
                }
                &.list-enter,
                &.list-leave-to {
                    height: 0;
                }
                .current {
                    flex: 0 0 20px;
                    width: 20px;
                    font-size: @font-size-small;
                    color: @color-theme-d;
                }
                .text {
                    flex: 1;
                    .no-wrap();
                    font-size: @font-size-medium;
                    color: @color-text-d;
                }
                .like {
                    .extend-click();
                    margin-right: 15px;
                    font-size: @font-size-small;
                    color: @color-theme;
                    .icon-favorite {
                        color: @color-sub-theme;
                    }
                }
                .delete {
                    .extend-click();
                    font-size: @font-size-small;
                    color: @color-theme;
                }
            }
        }
        .list-operate {
            width: 140px;
            margin: 20px auto 30px auto;
            .add {
                display: flex;
                align-items: center;
                padding: 8px 16px;
                border: 1px solid @color-text-l;
                border-radius: 100px;
                color: @color-text-l;
                .icon-add {
                    margin-right: 5px;
                    font-size: @font-size-small-s;
                }
                .text {
                    font-size: @font-size-small;
                }
            }
        }
        .list-close {
            text-align: center;
            line-height: 50px;
            background: @color-background;
            font-size: @font-size-medium-x;
            color: @color-text-l;
        }
    }
}

// 添加歌曲列表
.add-song {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 200;
    background: @color-background;
    &.slide-enter-active,
    &.slide-leave-active {
        transition: all 0.3s;
    }
    &.slide-enter,
    &.slide-leave-to {
        transform: translate3d(100%, 0, 0);
    }
    .header {
        position: relative;
        height: 44px;
        text-align: center;
        .title {
            line-height: 44px;
            font-size: @font-size-large;
            color: @color-text;
        }
        .close {
            position: absolute;
            top: 0;
            right: 8px;
            .icon-close {
                display: block;
                padding: 12px;
                font-size: 20px;
                color: @color-theme;
            }
        }
    }
    .search-box-wrapper {
        margin: 20px;
    }
    .shortcut {
        .list-wrapper {
            position: absolute;
            top: 165px;
            bottom: 0;
            width: 100%;
            .list-scroll {
                height: 100%;
                overflow: hidden;
                .list-inner {
                    padding: 20px 30px;
                }
            }
        }
    }
    .search-result {
        position: fixed;
        top: 124px;
        bottom: 0;
        width: 100%;
    }
    .tip-title {
        text-align: center;
        padding: 18px 0;
        font-size: 0;
        .icon-ok {
            font-size: @font-size-medium;
            color: @color-theme;
            margin-right: 4px;
        }
        .text {
            font-size: @font-size-medium;
            color: @color-text;
        }
    }
}

// 切换
.switches {
    display: flex;
    align-items: center;
    width: 240px;
    margin: 0 auto;
    border: 1px solid @color-highlight-background;
    border-radius: 5px;
    .switch-item {
        flex: 1;
        padding: 8px;
        text-align: center;
        font-size: @font-size-medium;
        color: @color-text-d;
        &.active {
            background: @color-highlight-background;
            color: @color-text;
        }
    }
}

// 头部提示
.top-tip {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    background: @color-dialog-background;
    &.drop-enter-active,
    &.drop-leave-active {
        transition: all 0.3s;
    }
    &.drop-enter,
    &.drop-leave-to {
        transform: translate3d(0, -100%, 0);
    }
}

//个人中心
.user-center {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    background: @color-background;
    &.slide-enter-active,
    &.slide-leave-active {
        transition: all 0.3s;
    }
    &.slide-enter,
    &.slide-leave-to {
        transform: translate3d(100%, 0, 0);
    }
    .back {
        position: absolute;
        top: 0;
        left: 6px;
        z-index: 50;
        .icon-back {
            display: block;
            padding: 10px;
            font-size: @font-size-large-x;
            color: @color-theme;
        }
    }
    .switches-wrapper {
        margin: 10px 0 30px 0;
    }
    .play-btn {
        box-sizing: border-box;
        width: 135px;
        padding: 7px 0;
        margin: 0 auto;
        text-align: center;
        border: 1px solid @color-text-l;
        color: @color-text-l;
        border-radius: 100px;
        font-size: 0;
        .icon-play {
            display: inline-block;
            vertical-align: middle;
            margin-right: 6px;
            font-size: @font-size-medium-x;
        }
        .text {
            display: inline-block;
            vertical-align: middle;
            font-size: @font-size-small;
        }
    }
    .list-wrapper {
        position: absolute;
        top: 110px;
        bottom: 0;
        width: 100%;
        .list-scroll {
            height: 100%;
            overflow: hidden;
            .list-inner {
                padding: 20px 30px;
            }
        }
    }
    .no-result-wrapper {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
}